<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>

        // 左右两边 结构一致  右边要是一个不出错的代码
       let wangfei={
           name:'王菲',
           sings:['匆匆那年','红豆','相思','因为爱情'],
           histroy:['窦唯','李亚鹏','谢霆锋']
       }


       let {name,sings:[a,b,c,d],histroy:histroy}=wangfei


       console.log(name)
       console.log(a,b,c,d);
       console.log(histroy)
    </script>
</body>
</html>